<%@ page language="java" contentType="text/html;charset=utf-8"
	pageEncoding="utf-8"%>
<%@ page import="com.sms.project.*"%>
<%@ page import="net.sf.json.*" %>
<%@ page import="java.util.List,java.util.ArrayList"%>

<%
	String newMember = request.getParameter("row");
	String member = request.getParameter("member");
	System.out.println(newMember);
	System.out.println(member);
%>

<%--
	//如果修改页面信息，则更新数据库的数据
	String msg = "";
	boolean isSuccess = false;
	String row = request.getParameter("row");
	String action = request.getParameter("action");
	if(action != null & action.trim().equals("modify")) {
		//String newMember = request.getParameter("member");
		newMember = request.getParameter("member");
		int proID = Integer.parseInt(request.getParameter("proID"));
		
		if(!newMember.trim().equals("")) {
			isSuccess = Task.modifyTime(proID, newTime);
			if(isSuccess) {
				msg = "ok";
			} else {
				msg = "error";
			}
		} else {
			msg = "error";
		}
		
	} else {
		msg = "error";
	}
	
	msg = msg.replace("/rn/g", "");//去掉产生的换行
		
	JSONArray json = new JSONArray();
	JSONObject j = new JSONObject();
	j.put("text", msg);
	j.put("row", row);
	json.add(j);
	
	out.clear();
	out.println(json);
--%>